package com.sjn.camera.cameraFrame;



public class FactoryProducer {
    public static AbstractFactory getFactory(int choice){
        if(choice==1){
            return new LenFactory();
        } else if(choice==2){
            return new SensorFactory();
        }
        return null;
    }
}
